<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>心理学考研笔记</title>
    <link rel="icon" href="./imgs/爱心.svg" sizes="18x18" />
    <!-- 解除其他平台的防盗链 -->
    <meta name="referrer" content="never" />

    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="description" content="Description" />
    <meta
      name="viewport"
      content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
    />
    <link
      rel="stylesheet"
      href="//cdn.jsdelivr.net/npm/docsify/themes/vue.css"
    />
    <link rel="stylesheet" type="text/css" href="style/myStyle.css" />

    <!-- alert -->
    <link
      rel="stylesheet"
      href="//cdn.bootcss.com/sweetalert/1.1.3/sweetalert.min.css"
      type="text/css"
      media="all"
    />
  </head>

  <body
    background=""
    style="
      background-repeat: no-repeat;
      background-size: 100% 100%;
      background-attachment: fixed;
    "
  >
    <div id="app">Loading...</div>
    <a class="to-top">Top</a>

    <script>
      window.$docsify = {
        el: "#app",
        name: "林满山ShaeRay",
        loadNavbar: true, //开启导航栏
        coverpage: true, //开启封面
        loadSidebar: true, //开启侧边栏
        auto2top: true, //切换页面自动回到顶部
        subMaxLevel: 3, //目录最大级数
        maxLevel: 4, //可配置最大支持渲染的标题层级
        homepage: "README.md", //设置中文的README.md作为首页

        //添加搜索功能，中文和英文文档同时搜索
        search: {
          paths: "auto",
          placeholder: {
            "/": "🔍 搜索",
            "/zh-cn/": "🔍 搜索",
            "/en-us/": "🔍 Type to search",
          },
          //如果中文和英文文档都没有内容，则返回
          noData: {
            "/": "😒 找不到结果",
            "/zh-cn/": "😒 找不到结果",
            "/en-us/": "😒 No Results",
          },

          depth: 4, //搜索标题的最大层级
          maxAge: 86400000, // 过期时间，单位毫秒，默认一天
        }, //增加搜索框

        footer: {
          copy: "Copyright &copy; 2024 💖 </span>",
          auth: " <strong>林满山ShaeRay</strong>",
          pre: "<hr/>",
          style: "text-align: center;",
        },

        copyCode: {
          buttonText: "Copy",
          errorText: "Error",
          successText: "OK!",
        },

        "flexible-alerts": {
          style: "flat",
        },
      };
    </script>

    <script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>

    <!-- docsify表情包 -->
    <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script>

    <!-- 复制代码到剪切板 -->
    <script src="//cdn.jsdelivr.net/npm/docsify-copy-code"></script>

    <!-- 搜索功能 -->
    <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>

    <!-- CDN files for docsify-katex -->
    <script src="//cdn.jsdelivr.net/npm/docsify-katex@latest/dist/docsify-katex.js"></script>

    <!-- 文档页脚增强 -->
    <script src="//cdn.jsdelivr.net/npm/docsify-footer-enh/dist/docsify-footer.min.js"></script>

    <!-- PWA 离线化 -->
    <script>
      if (typeof navigator.serviceWorker !== "undefined") {
        navigator.serviceWorker.register("sw.js");
      }
    </script>

    <!-- 置顶插件 -->
    <script src="style/jquery-1.11.3.min.js"></script>
    <script src="style/jquery.toTop.min.js"></script>
    <script>
      $(".to-top").toTop();
    </script>

    <!-- Markdown 引用样式美化 -->
    <script src="//cdn.jsdelivr.net/npm/docsify-plugin-flexible-alerts/dist/docsify-plugin-flexible-alerts.min.js"></script>

    <!-- 图片缩放 -->
    <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.js"></script>

    <!-- LaTex支持 -->
    <script
      type="text/javascript"
      src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
    ></script>

    <script type="text/x-mathjax-config">
      MathJax.Hub.Config({
        tex2jax: {
          inlineMath: [['$','$'], ['\\(','\\)']],
          displayMath: [['$$','$$'], ['\[','\]']],
          processEscapes: true,
          processEnvironments: true,
          skipTags: ['script', 'noscript', 'style', 'textarea', 'pre'],
          TeX: { equationNumbers: { autoNumber: "AMS" },
               extensions: ["AMSmath.js", "AMSsymbols.js"] }
        }
      });
    </script>

    <script type="text/x-mathjax-config">
        MathJax.Hub.Queue(function() {
          // Fix <code> tags after MathJax finishes running. This is a
          // hack to overcome a shortcoming of Markdown. Discussion at
          // https://github.com/mojombo/jekyll/issues/199
          var all = MathJax.Hub.getAllJax(), i;
          for(i = 0; i < all.length; i += 1) {
              all[i].SourceElement().parentNode.className += ' has-jax';
          }
      });
    </script>
  </body>
</html>
